package com.hu.system.service;

import java.util.List;

import com.hu.system.domain.StockOutbound;

/**
 * 备货出库Service接口
 *
 * @author hu
 * @date 2025-01-21
 */
public interface IStockOutboundService {
    /**
     * 查询备货出库列表
     *
     * @param stockOutbound 备货出库
     * @return 备货出库集合
     */
    public List<StockOutbound> selectStockOutboundList(StockOutbound stockOutbound);

    /**
     * 查询备货出库详细信息
     *
     * @param outboundId 备货出库ID
     * @return 备货出库
     */
    public StockOutbound selectStockOutboundByOutboundId(Long outboundId);

    /**
     * 新增备货出库
     *
     * @param stockOutbound 备货出库
     * @return 结果
     */
    public int insertStockOutbound(StockOutbound stockOutbound);

    /**
     * 修改备货出库
     *
     * @param stockOutbound 备货出库
     * @return 结果
     */
    public int updateStockOutbound(StockOutbound stockOutbound);

    /**
     * 批量删除备货出库
     *
     * @param outboundIds 需要删除的备货出库ID数组
     * @return 结果
     */
    public int deleteStockOutboundByOutboundIds(Long[] outboundIds);

    /**
     * 根据备货单号和SKU查询备货出库
     *
     * @param stockOrderNo 备货单号
     * @param sku SKU编码
     * @return 备货出库对象
     */
    public StockOutbound selectByStockOrderNoAndSku(String stockOrderNo, String sku);
}

